package cn.mineserv.video.videoordersystem.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`comment`")
public class Comment implements Serializable {
    @TableId(value = "comment_id", type = IdType.AUTO)
    private Integer commentId;

    @TableField(value = "media_id")
    private Integer mediaId;

    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "comment_text")
    private String commentText;

    @TableField(value = "comment_like")
    private Integer commentLike;

    @TableField(value = "comment_type")
    private Integer commentType;

    @TableField(value = "comment_score")
    private BigDecimal commentScore;

    @TableField(value = "comment_time")
    private Date commentTime;

    @TableField(value = "comment_status")
    private Integer commentStatus;

    @TableField(value = "comment_parent")
    private Integer commentParent;

    private static final long serialVersionUID = 1L;

    public static final String COL_COMMENT_ID = "comment_id";

    public static final String COL_MEDIA_ID = "media_id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_COMMENT_TEXT = "comment_text";

    public static final String COL_COMMENT_LIKE = "comment_like";

    public static final String COL_COMMENT_TYPE = "comment_type";

    public static final String COL_COMMENT_SCORE = "comment_score";

    public static final String COL_COMMENT_TIME = "comment_time";

    public static final String COL_COMMENT_STATUS = "comment_status";

    public static final String COL_COMMENT_PARENT = "comment_parent";
}